<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>">
<meta charset="utf-8">
<title>部门管理系统</title>
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">

<link rel="stylesheet" type="text/css" href="js/lib/bootstrap/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="css/stylesheets/theme.css">
<link rel="stylesheet" href="js/lib/font-awesome/css/font-awesome.css">
<script src="js/lib/jquery-1.7.2.min.js" type="text/javascript"></script>


<!-- Demo page code -->

<style type="text/css">
#line-chart {
	height: 300px;
	width: 800px;
	margin: 0px auto;
	margin-top: 1em;
}

.brand {
	font-family: georgia, serif;
}

.brand .first {
	color: #ccc;
	font-style: italic;
}

.brand .second {
	color: #fff;
	font-weight: bold;
}
</style>


</head>
<body class="">

	<div class="navbar">
		<div class="navbar-inner">
			<ul class="nav pull-right">
				<li id="fat-menu" class="dropdown">
				<a href="#" role="button" class="dropdown-toggle" data-toggle="dropdown"> 
				<iclass="icon-user"></i>欢迎   ${username} 使用部门管理系统<i class="icon-caret-down"></i>
				</a>

					<ul class="dropdown-menu">
						<li><a tabindex="-1" href="#">我的用户</a></li>
						<li class="divider"></li>
						<li><a tabindex="-1" class="visible-phone" href="#">设置</a></li>
						<li class="divider visible-phone"></li>
						<li><a tabindex="-1" href="" onclick="exist()">退出系统</a></li>
					</ul></li>

			</ul>
			<a class="brand" href="index.html"><span class="first">Your</span>
				<span class="second">Company</span></a>
		</div>
	</div>




	<div class="sidebar-nav">
		<a href="#dashboard-menu" class="nav-header" data-toggle="collapse"><i
			class="icon-dashboard"></i>欢迎使用</a>
		<ul id="dashboard-menu" class="nav nav-list collapse in">
			<li><a href="<%=basePath%>jsp/index.jsp">主页</a></li>
			<li><a href="<%=basePath%>html/map.jsp">地图</a></li>
		</ul>

		<a href="#accounts-menu" class="nav-header collapsed"
			data-toggle="collapse"><i class="icon-github"></i>部门管理<i
			class="icon-chevron-up"></i></a>
		<ul id="accounts-menu" class="nav nav-list collapse">
			<li><a href="<%=basePath%>department/list">部门列表</a></li>
			<li><a href="<%=basePath%>jsp/add_department.jsp">添加部门</a></li>
			<li><a href="reset-password.html">Reset Password</a></li>
		</ul>

		<a href="#error-menu" class="nav-header collapsed"
			data-toggle="collapse"><i class="icon-user"></i>员工管理 <i
			class="icon-chevron-up"></i></a>
		<ul id="error-menu" class="nav nav-list collapse">
			<li><a href="<%=basePath%>employee/list">员工列表</a></li>
			<li><a href="<%=basePath%>employee/department/list">添加员工</a></li>
		</ul>

		<a href="#legal-menu" class="nav-header" data-toggle="collapse"><i
			class="icon-legal"></i>文件管理</a>
		<ul id="legal-menu" class="nav nav-list collapse">
			<li><a href="<%=basePath%>jsp/manage_file.jsp">上传文件</a></li>
			<li><a href="<%=basePath%>file/listFile">文件列表</a></li>
		</ul>

		<a href="help.html" class="nav-header"><i class="icon-question-sign"></i>帮助</a> 
	</div>



	<div class="content">
 		<div title="欢迎使用" style="padding:20px;overflow:hidden; color:#7D9EC0; " >
		-------------------------------------------------------------------------------------------------------------------------
        <h1 style="font-size:40px;color:#7D9EC0;">Welcome To Use Department Admin System</h1>
		</div>
	</div>



	<script src="js/lib/bootstrap/js/bootstrap.js"></script>
	<script type="text/javascript">
		$("[rel=tooltip]").tooltip();
		$(function() {
			$('.demo-cancel-click').click(function() {
				return false;
			});
		});
		
        function exist(){
 			alert("欢迎你下次继续登录本网站！");
        }
	</script>

</body>
</html>


